﻿namespace Framework.ObjectPool
{
    /// <summary>
    /// 对象池基类
    /// </summary>
    public abstract class ObjectPoolBase
    {
        /// <summary>
        /// 对象池更新方法
        /// </summary>
        /// <param name="frameTime">逻辑帧时间</param>
        /// <param name="realTime">实际上一帧的时间</param>
        public abstract void Update(float frameTime, float realTime);
        /// <summary>
        /// 关闭对象池
        /// </summary>
        public abstract void Destroy();
    }
}
